package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.util.Date;

/**
 * 用户板块对象 user_plate
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("用户板块-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "user_plate")
public class UserPlateEntity extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 板块主键
	 */
	@ApiModelProperty("板块主键")
	private Long plateId;

	/**
	 * 用户主键
	 */
	@ApiModelProperty("用户主键")
	private Long userId;

	/**
	 * 创建时间
	 */
	@ApiModelProperty("创建时间")
	private Date createTime;

}
